package com.company.gas.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("安检维修管理")
public class Repair {
    @ApiModelProperty(value = "维修编号",position = 1)
    private String repId;
    @ApiModelProperty(value = "客户ID",position = 2)
    private String cusId;
    @ApiModelProperty(value = "员工ID",position = 3)
    private String staffId;
    @ApiModelProperty(value = "维修日期",position = 4)
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date repDate;
    @ApiModelProperty(value = "标志位",position = 5)
    private Integer flag;
    @ApiModelProperty(value = "创建时间",position = 6)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date createTime;
    @ApiModelProperty(value = "创建人",position = 7)
    private String createBy;
    @ApiModelProperty(value = "修改时间",position = 8)
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date modifyTime;
    @ApiModelProperty(value = "修改人",position = 9)
    private String modifyBy;
}
